<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html jwcid="@Shell" title="Contact Infomation Manage" stylesheet="asset:main">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>Contact Infomation Manage</title>
  <link href="../css/main.css"  rel="stylesheet" type="text/css">
  <script type="text/javascript" src="js/common.js"></script>  
</head>


<body jwcid="@Body">

<div align="center" style="color:red;margin:2px">
    <span jwcid="@Delegator" delegate="ognl:beans.delegate.firstError">error</span>
</div>

<fieldset id="fieldsetDetail">
    <legend onclick="showContactDetailInfo('fieldsetDetail','contactDetailInfo')" style="cursor:pointer;">联系人详细信息</legend>
    <table id="contactDetailInfo">
        <tr bgcolor="#eeeeee">
            <td align="right" width="75" nowrap>创建时间:</td>
            <td nowrap width="200"><span jwcid="showDateSave">8899889</span></td>
            <td align="right" width="75" nowrap>所属客户:</td>
            <td nowrap width="200"><span jwcid="showCustomerName">8899889</span></td>
        </tr>
        <tr bgcolor="#ffffff">
            <td align="right" width="75" nowrap>联系人: </td>
            <td nowrap width="200"><span jwcid="showContactName">张三</span></td>
            <td align="right" width="75" nowrap>性别: </td>
            <td nowrap width="200"><span jwcid="showSex">男</span></td>
        </tr>
        <tr bgcolor="#eeeeee">
		    <td align="right" width="75" nowrap>部门&nbsp;</td>
            <td nowrap width="200"><span jwcid="showDepartment">市场部</span></td>
            <td align="right" width="75" nowrap>职位: </td>
            <td nowrap width="200"><span jwcid="showJobTitle">市场经理</span></td>
	    </tr>    
        <tr bgcolor="#ffffff">
            <td align="right" width="75" nowrap>电话:</td>
            <td nowrap width="200"><span jwcid="showPhone">8899889</span></td>
            <td align="right" width="75" nowrap>传真:</td>
            <td nowrap width="200"><span jwcid="showFax">8899889</span></td>
        </tr>
        <tr bgcolor="#eeeeee">
            <td align="right" width="75" nowrap>邮件:</td>
            <td colspan="3" nowrap><span jwcid="showEmail">8899889</span></td>

        </tr>

         <tr bgcolor="#ffffff">
            <td align="right" width="75" nowrap>备注:</td>
            <td colspan="3" nowrap><span jwcid="showComment">8899889</span></td>
        </tr>

    </table>
</fieldset>


    <form jwcid="contactInfoForm">
    <span jwcid="@If" condition="ognl:modify">
      <fieldset id="fieldsetModify">
		<legend  onclick="showContactDetailInfo('fieldsetModify','modify')" style="cursor:pointer;">修改联系人信息</legend>

		<table id="modify">
			<tr>
				<td align="right" width="95" nowrap>联系人&nbsp;</td>
				<td><input name="contactName" jwcid="contactName" class="inputWidth"/></td>
				<td align="right" width="95" nowrap>性别&nbsp;</td>
                <td><input name="sex" jwcid="sex" /></td>                
            </tr>

            <tr>
				<td align="right" width="95" nowrap>部门&nbsp;</td>
                <td><input name="department" jwcid="department" class="inputWidth"/></td>
                <td align="right" width="95" nowrap>职位&nbsp;</td>
                <td><input name="jobTitle" jwcid="jobTitle" class="inputWidth"/></td>
			</tr>

            <tr>
                <td align="right" nowrap>邮件&nbsp;</td>
				<td colspan="3"><input name="email" jwcid="email" class="inputWidth"/></td>
			</tr>

            <tr>
				<td align="right" nowrap>电话&nbsp;</td>
				<td colspan="3">
                    <input name="countryCode" jwcid="countryCode" style="width:30px"/> - <input name="areaCode" jwcid="areaCode" style="width:30px"/> - <input name="phone" jwcid="phone" style="width:100px"/> - <input name="extension" jwcid="extension" style="width:50px"/>
                </td>
            </tr>

            <tr>
				<td align="right" nowrap>传真&nbsp;</td>
				<td colspan="3">
                    <input name="countryCodeFax" jwcid="countryCodeFax" style="width:30px" onFocus="copyPhoneToFax();"/> - <input name="areaCodeFax" jwcid="areaCodeFax" style="width:30px"/> - <input name="fax" jwcid="fax" style="width:100px"/> - <input name="extensionFax" jwcid="extensionFax" style="width:50px"/>
                </td>
            </tr>


            <tr>
                <td align="right" nowrap>备注&nbsp;</td>
                <td colspan="3">
                    <textarea rows="3" cols="30" name="comment" jwcid="comment"></textarea>
                </td>
            </tr>

        </table>

    </fieldset>
    </span>


        <table>
            <tr>
                <td>&nbsp;</td>
                <td align="right" nowrap>
                    <input jwcid="goback" type="submit" class="buttonStyle" value="返回上一页"/>
                    <span jwcid="@If" condition="ognl:modify">
                    <input jwcid="modify" type="submit" class="buttonStyle" value="修 改"/>
                    </span>
                </td>
            </tr>
        </table>
    </form>

</body>

</html>